package com.ruoyi.teaching.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.teaching.domain.PlatformQQuestion;
import com.ruoyi.teaching.domain.vo.PlatformQQuestionVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王旭
 * @since 2024-06-12
 */
public interface PlatformQQuestionService extends IService<PlatformQQuestion> {
    AjaxResult selectPlatformQQuestionById(Long id);

    AjaxResult insertPlatformQQuestion(List<PlatformQQuestionVO> platformQQuestionDTOs);

    AjaxResult updatePlatformQQuestion(PlatformQQuestionVO platformQQuestionDTO);

    AjaxResult deletePlatformQQuestionByIds(Long[] ids);

    AjaxResult selectPlatformQQuestionListInQuestion(Integer questionType, String questionName, Integer pageNum, Integer pageSize, Integer knowledgeId);

    AjaxResult selectPlatformQQuestionListInExam(Integer questionType, String questionName, Integer pageNum, Integer pageSize, String knowledgeName);

    AjaxResult getCount(List<String> knowledgeNames);
}
